jurt-soffice-location
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 1 Oct 2014 19:37:10 +0000 (19:37 +0000)
committerRene Engelhard <rene@debian.org>
Wed, 1 Oct 2014 19:37:10 +0000 (19:37 +0000)
commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408
Author:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
AuthorDate: Tue Jun 7 11:52:37 2011 +0200
Commit:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
CommitDate: Tue Jun 7 11:52:37 2011 +0200

    on debian-based systems, we know where our soffice binary is

Gbp-Pq: Name jurt-soffice-location.diff

jurt/com/sun/star/lib/util/NativeLibraryLoader.java

index 749dcb1378c3edc2febe86cc71881729702c8adc..7ed66fad9da09f9160de4067566c1556a28ab20f 100644 (file)
@@ -111,6 +111,8 @@ public final class NativeLibraryLoader {
                 }
             }
         }
+        if (name.equals("soffice"))
+            return new File("/usr/lib/libreoffice/program/soffice");
         return null;
     }